﻿using System.ComponentModel;

namespace DiagramDesigner.BusinessModelObject
{
    public class MedidaEspacial:BaseField
    {
        #region Fields

        private int _srid = -1;
        private int _dimension = 2;
        #endregion

        [Description("SRID")]
        [DefaultValue(-1)]
        [TypeProperty(TypeControl.TextBoxControl)]
        public int Srid
        {
            get { return _srid; }
            set { _srid = value; }
        }

        [Description("Number Of Dimensions")]
        [DefaultValue(2)]
        [TypeProperty(TypeControl.TextBoxControl)]
        public int Dimension
        {
            get { return _dimension; }
            set { _dimension = value; }
        }

        [Description("Aggregation Function")]
        [TypeProperty(TypeControl.ComboBoxContol)]
        public TypeAggregationFunction AggregationFunction
        {
            get;
            set;
        }
    }
}
